package com.example.leetcode.dp;

import com.example.leetcode.dp.common.DPUtils;

class Solution746 {
    public int minCostClimbingStairs(int[] cost) {
        return DPUtils.minCostClimbingStairs(cost);
    }
}

public class leetcode746 {
    public static void main(String[] args) {
        Solution746 solution746 = new Solution746();
        int[] cost = {10, 15, 20};
        int[] cost1 = {1, 100, 1, 1, 1, 100, 1, 1, 100, 1};
        System.out.println(solution746.minCostClimbingStairs(cost));
        System.out.println(solution746.minCostClimbingStairs(cost1));

    }
}
